package bs.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * Role: 角色
 *
 * @author 姜治昊
 * @time 2017年11月20日 上午10:31:48
 */
public class Role implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer roleId;
	
	private String roleName;
	
	private String roleInfo;
	
	private List<Permission> permissions;

	public List<Permission> getPermissions() {
		return permissions;
	}

	public void setPermissions(List<Permission> permissions) {
		this.permissions = permissions;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getRoleInfo() {
		return roleInfo;
	}

	public void setRoleInfo(String roleInfo) {
		this.roleInfo = roleInfo;
	}
	
	public Role() {}
	
	public Role(String roleName, String roleInfo) {
		this.roleName = roleName;
		this.roleInfo = roleInfo;
	}
	
}
